﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static DataModels.Enums.Livelihood.AppointmentListEnum;

namespace DataModels.Entities.Livelihood
{
    [SugarTable("appointmentlist")]
    public class AppointmentList
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string UUID { get; set; }

        /// <summary>
        /// 预约用户iD
        /// </summary>
        public string CustomerUUID { get; set; }

        /// <summary>
        /// 预约电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 预约需求
        /// </summary>
        public string IntentiontypeUUIDS { get; set; }
        /// <summary>
        /// 提交预约时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 最近沟通时间
        /// </summary>
        public DateTime LatelyTime { get; set; }
        /// <summary>
        /// 沟通状态0 -未沟通  1-已沟通
        /// </summary>
        public CommState CommunicationState { get; set; } // tinyint映射为int
    }
}
